package com.example.mam.service;

import com.example.mam.dto.TreeNode;
import com.example.mam.entity.Mt5Groups;

import java.util.List;

public interface Mt5GroupsService {

    TreeNode selectAllGroupName();

    List selectAllMAMGroups();

    List selectAllAccountByGroups(Long id);

    Integer updateGroup(Mt5Groups group);

    Integer setMAMGroup(Long id, String isMAM);

    Integer cancleMAMGroup(Long id,String notMAM);

    List selectGroupById(String groupId);
}
